<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!-- 注册 页面-->
<%
	String path = request.getContextPath();
%>
<html>
	<head>
		<title>注册SYWESP</title>
		<link href="<%=path%>/css/index_css.css" rel="stylesheet" type="text/css" />
		<script src="<%=path%>/dwr/engine.js"></script>
		<script src="<%=path%>/dwr/util.js"></script>
		<script src="<%=path%>/dwr/interface/shiyueDwr.js"></script>
		<script type="text/javascript">
	window.onload = function() {
		shiyueDwr.getMACAddress(getMACAddressCallBack);
	}
	function getMACAddressCallBack(result) {
		document.getElementById("MACKey").value = result;
	}
</script>
	</head>
	<body>
		<div align="center" style="font-size: 24px; padding: 10px;">
			SYWESP软件注册
			<br><font color="red">${requestScope.info}</font>
		</div>
		<div align="center" style="font-size: 12px;">
			<form action="registerRegisterAction.action" method="post">
				本机器MAC地址：
				<input type="text" readonly="readonly" id="MACKey" name="macStr">
				<br>
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<font color="red">*没有MAC地址本机器将无法完成注册，MAC地址由程序自动读取</font>
				<br>
				<br>
				&nbsp;
				<font color="red">*注册后需重启方可生效</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<br>
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注册号：
				<input type="text" name="registerCodeStr">
				<br>
				<input type="submit" value="注册">
			</form>
		</div>
	</body>
</html>
